home *** CD-ROM | disk | FTP | other *** search
-
-
-
- NETROUTE User Commands NETROUTE
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- netroute - Set up host names, addresses, and machine types
-
- SSYYNNOOPPSSIISS
- nneettrroouuttee [ooppttiioonnss]
-
- OOPPTTIIOONNSS
- [none]
- Print out the kernel's route table.
-
- --hh _h_o_s_t
- The host to operate upon. Either a hostname or Sprite
- ID.
-
- --ff _f_i_l_e
- Use given file for the Sprite host database.
-
- --gg _f_i_l_e
- Use given file for the Sprite gateway database.
-
- --ffaavvoorr _n_e_t
- Try to establish routes across networks of type _n_e_t.
-
- --ddiissffaavvoorr _n_e_t
- Try not to establish routes across networks of type
- _n_e_t.
-
- --eetthheerr _f_f:_o_o:_o_o:_b_b:_a_a:_r_r@_a_a._b_b._c_c._d_d Establish a route to
- a host with these
- ethernet and inter-
- net addresses.
-
- --uullttrraa _h_h/_i_i@_a_a._b_b._c_c._d_d Establish a route to
- a host with these
- ultranet and inter-
- net addresses.
-
- --ffddddii _q_q:_w_w:_e_e:_r_r:_t_t:_y_y@_a_a._b_b._c_c._d_d Establish a route to
- a host with these
- fddi and internet
- addresses.
-
- --pp Print routes.
-
- --ii Install routes. This is the default operations if no
- operations are given.
-
- --dd _r_o_u_t_e_I_D
- Delete the route with the given ID.
-
-
-
-
- Sprite v.1.0 Printed: June 30, 1992 1
-
-
-
-
-
-
- NETROUTE User Commands NETROUTE
-
-
-
- --mm _m_a_c_h_i_n_e__t_y_p_e
- Host's machine type, where the host is specified by the
- --hh option.
-
- --vv Verbose.
-
- --nn Print actions instead of doing them. Not fully sup-
- ported yet.
-
- _________________________________________________________________
-
- IINNTTRROODDUUCCTTIIOONN
- This command is used to access the kernel's internal route
- table. This route table is used to determine routes for
- sending RPC packets between the hosts. The route table has
- nothing to do with user-level network communication via
- TCP/IP or similar protocols. Normally nneettrroouuttee is invoked
- during the boot script to install routes to all the hosts
- found in /etc/spritehosts (/etc/spritehosts.new during the
- transition period to the new spritehosts file format). The
- /etc/spritehosts file contains the spriteID of the host, a
- network type and address (i.e. ethernet), an internet
- address, a machine type, and a name plus optional aliases.
- The spriteID is used internally for RPC communication
- between Sprite hosts. The network type and network address
- are used to map the Sprite ID to the correct local network
- address. The internet address is used for the internet pro-
- tocols. The machine type is used when expanding the string
- ``$MACHINE'' inside pathnames. The file server must know
- its clients machine types in order to do this correctly.
- The names are used to make console error messages contain a
- human understandable host name, and are also used with the
- internet library routines.
-
- UUSSAAGGEE
- There are three operations that can be performed on routes.
- One is to print them, another is to install them, and the
- last is to delete them. These operations are specified with
- the pp, ii and dd options.
-
-
- IINNSSTTAALLLLIINNGG RROOUUTTEESS
- For installing hosts, the information is normally taken from
- a host database file. A host can be installed from scratch
- by specifying its name (hhRR ooppttiioonn)),, mmaacchhiinnee ttyyppee ((mmRR
- ooppttiioonn)),, aanndd nneettwwoorrkk aaddddrreesssseess.. TThhee nneettwwoorrkk aaddddrreesssseess aarree
- ssppeecciiffiieedd uussiinngg tthhee eetthheerrRR,, uullttrraa, and ffddddii options. The
- strings passed to these options must be of the form
- _n_e_t__a_d_d_r_e_s_s@_i_n_e_t__a_d_d_r_e_s_s because each network interface has
- both a network address and an internet address. At least
- one must be specified.
-
- Routes to hosts can be installed only over one network type.
- When they are installed, nneettrroouuttee uses a list of types to
-
-
-
- Sprite v.1.0 Printed: June 30, 1992 2
-
-
-
-
-
-
- NETROUTE User Commands NETROUTE
-
-
-
- check in a predefined order (use the vv option to find this
- order.) It will try to establish a route using the first
- network type; if that fails, it will try the next, etc.
- This list can be changed dynamically using the ffaavvoorr and
- ddiissffaavvoorr options to either favor one network type most or
- one network type the least, respectively. Both options can
- be used at the same time.
-
- For example, normally routes are installed over ethernet. To
- change it so that fddi routes are installed where possible,
- use:
-
- % netroute -i -favor fddi
-
- This will install fddi routes to those machines that support
- fddi routes, and ethernet routes to the remainder.
-
- When new routes are installed successfully, the previous
- route is removed.
-
-
- DDEELLEETTIINNGG RROOUUTTEESS
- Routes are deleted by specifying a route ID using the dd
- option.
-
-
- PPRRIINNTTIINNGG RROOUUTTEESS
- When routes are printed, the following information is given
- about each route: the Sprite ID of the host to which the
- route goes; the hostname and the machine type of that host;
- a description of the route from the kernel; the route ID,
- and the route ID shifted by right by 16 places; the network
- type of the route; the network address of the interface
- from which the route sends packets; the protocol that the
- route serves; the route flags; a reference count to the
- route; min and max packet sizes over the route; min and max
- RPC sizes over the route; and the network address of the
- destination host to which packets are sent.
-
-
- FFIILLEESS
- //eettcc//sspprriitteehhoossttss Contains the old host database
- //eettcc//sspprriitteehhoossttss..nneeww Contains the new host database.
-
- KKEEYYWWOORRDDSS
- ethernet, ultranet, fddi, internet, net, route, $MACHINE
-
-
-
-
-
-
-
-
-
- Sprite v.1.0 Printed: June 30, 1992 3
-
-
-
-